package com.yangyu.message.blog;

import com.yangyu.pojo.Blog;
import com.yangyu.pojo.Tag;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * 编辑博客
 *
 * @author
 * @version V1.0
 * @Package com.yangyu.message.blog
 * @date 2021/1/16 16:39
 */
@Data
public class EditBlogReq extends Blog {
    /**
     * 标签
     */
    @Size(min = 1)
    private List<Tag> tags;
}
